import React, { useEffect } from 'react';
import NProgress from 'nprogress'


const Progress:React.FC = () => {
    useEffect(() => {
        NProgress.start();

        return () => {
            NProgress.done();
        };
    });
    return <></>;
};

export default Progress;
